unit HESAP;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  siComp;

type
  TFHESAP = class(TForm)
    procedure FormClose(Sender: TObject; var Action: TCloseAction);
    procedure FormKeyPress(Sender: TObject; var Key: Char);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  FHESAP: TFHESAP;

implementation

uses ana1;

{$R *.DFM}

procedure TFHESAP.FormClose(Sender: TObject; var Action: TCloseAction);
begin
  FHESAP := nil;
  action := cafree;
end;

procedure TFHESAP.FormKeyPress(Sender: TObject; var Key: Char);
begin
  if key = #27 then
    close;
end;

end.